using System;
using System.Threading;
using System.Windows.Forms;

namespace iSay
{
  static class Program
  {
    /// <summary>
    /// The main entry point for the application.
    /// </summary>
    [STAThread]
    static void Main()
    {
      bool createdNew;
      using (new Mutex(true, "iSay", out createdNew))
      {
        if (!createdNew) return;
        Application.EnableVisualStyles();
        Application.SetCompatibleTextRenderingDefault(false);
        Application.Run(new iSayForm());
      }
    }
  }
}